Ext.define('Usws.view.meeting.MeetingEdit', {
    extend: 'Ext.window.Window',
    xtype: 'Meeting-Edit',
    title: '编辑会议信息',
    layout: 'fit',
    autoShow: true,
    modal: true,
    initComponent: function() {
        this.items = [
            {
                xtype: 'form',
                padding: '10px',
                border: 0,
                items: [
                    { xtype: 'textfield', name:'meeting.uid', id: 'uid', fieldLabel: 'UID'}
,{ xtype: 'textfield', name:'meeting.title', id: 'title', fieldLabel: '会议名称'}
,{ xtype: 'numberfield', name:'meeting.roomId', id: 'roomId', fieldLabel: '会议室ID'}
,{ xtype: 'textfield', name:'meeting.channelUid', id: 'channelUid', fieldLabel: '关联频道'}
,{ xtype: 'textfield', name:'meeting.content', id: 'content', fieldLabel: '会议内容'}
,{ xtype: 'datefield', name:'meeting.startDate', id: 'startDate', fieldLabel: '开始时间'}
,{ xtype: 'datefield', name:'meeting.endDate', id: 'endDate', fieldLabel: '结束时间'}
,{ xtype: 'textfield', name:'meeting.presenterUid', id: 'presenterUid', fieldLabel: '主持人'}
,{ xtype: 'numberfield', name:'meeting.typeDsid', id: 'typeDsid', fieldLabel: '会议类型'}
,{ xtype: 'numberfield', name:'meeting.statusDsid', id: 'statusDsid', fieldLabel: '状态'}
,{ xtype: 'textfield', name:'meeting.picture', id: 'picture', fieldLabel: '会议图片'}
,{ xtype: 'numberfield', name:'meeting.videoTypeDsid', id: 'videoTypeDsid', fieldLabel: '视频类型'}
,{ xtype: 'textfield', name:'meeting.createByUid', id: 'createByUid', fieldLabel: '创建人'}
,{ xtype: 'datefield', name:'meeting.createDate', id: 'createDate', fieldLabel: '创建时间'}
,{ xtype: 'textfield', name:'meeting.lastUpdByUid', id: 'lastUpdByUid', fieldLabel: '更新人'}
,{ xtype: 'datefield', name:'meeting.lastUpDate', id: 'lastUpDate', fieldLabel: '更新时间'}

                ]
            }
        ];

        this.buttons = [
            {
                text: '确定',
                action: 'save'
            },
            {
                text: '取消',
                scope: this,
                handler: this.close
            }
        ];
        
        this.callParent(arguments);
    }
});